home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
MLT
/
XTRACE311.sit
/
XTRACE311
/
X-TRACE 3.1.1.rsrc
/
TEXT_1001_pcon.xti.txt
< prev
next >
Wrap
Text File
|
1996-09-01
|
544b
|
42 lines
xtrace "poly-cone"
{
procedure pcon l,m,n, a,b,c, r,h, pn
{
nvar pn=10;
nvar h=r;
var t1, x1,y1;
var t2, x2,y2;
para l,m,n;
leverz a,b,c;
sim r,r,h/2;
boundary sphere 0,0,1, sqrt (2)
{
var i=0;
while lt (i - pn)
{
t1=2*PI*i/pn;
t2=2*PI*(i + 1)/pn;
x1=cos (t1);
y1=sin (t1);
x2=cos (t2);
y2=sin (t2);
poly テォツァテアツ
{
pt 0,0,2;
pt x1,y1,0;
pt x2,y2,0;
}
poly テュテ催アツ
{
pt 0,0,0;
pt x1,y1,0;
pt x2,y2,0;
}
i=i + 1;
}
}
}
}